//
//  WDAppUserRoutesModel.h
//  wd-serviceapp
//
//  Created by Bin Tang on 2025/3/14.
//

#import "TYZBaseModel.h"

NS_ASSUME_NONNULL_BEGIN

@interface WDAppUserRoutesModel : TYZBaseModel

@property (nonatomic, assign) NSInteger id;

@property (nonatomic, copy) NSString *name;

/// 操作按钮类型
@property (nonatomic, assign) NSInteger action;

/// 操作按钮类型名称
@property (nonatomic, copy) NSString *actionName;

/// 菜单别名
@property (nonatomic, copy) NSString *alias;

/// 菜单类型
@property (nonatomic, assign) NSInteger category;

/// 菜单类型名称
@property (nonatomic, copy) NSString *categoryName;

/// 菜单编号
@property (nonatomic, assign) NSInteger code;

@property (nonatomic, assign) BOOL hasChildren;

@property (nonatomic, assign) NSInteger isDeleted;

@property (nonatomic, assign) NSInteger isOpen;

@property (nonatomic, copy) NSString *isOpenName;

@property (nonatomic, assign) NSInteger parentId;

@property (nonatomic, copy) NSString *parentName;

@property (nonatomic, copy) NSString *path;

@property (nonatomic, copy) NSString *remark;

@property (nonatomic, assign) NSInteger sort;

@property (nonatomic, copy) NSString *source;

@property (nonatomic, strong) NSArray<WDAppUserRoutesModel *> *children;

@end

NS_ASSUME_NONNULL_END

/*
 {"id":"1825800772452147201","parentId":"1806233926061297665","code":"station-task","name":"服务工单管理","alias":"menu","path":"/task/serviceOrderTask","source":"iconfont iconicon_task_done","sort":1,"category":1,"action":0,"isOpen":1,"remark":"","isDeleted":0,"hasChildren":false,"parentName":"","categoryName":"","actionName":"","isOpenName":""}
 */
